﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace ODM2KMZ
{
    public enum LabelType {f,t,N}
    public class GoogleChartLabel
    {
        public LabelType labelType { get; set; }
        public string color { get; set; }
        public int index { get; set; }
        public decimal dataPoint { get; set; }
        public int priority { set; get; }
        public int size { set; get; }
        public string labelValue { get; set; }


        public GoogleChartLabel()
        {
            index = 0;
            dataPoint = 0;
            labelType = LabelType.N;
            size = 10;
            priority = 0;
 

        }


        public string getPointLabel()
        {
           

            return  labelType + labelValue + "," + color + "," + index + "," +
                  dataPoint + "," + size + "," + priority;


        }
    }
   
}
